
#ifndef _BOUNDARY
#define _BOUNDARY

#include "../hed/entity/ipoint.h"
#include <vector>
using namespace std;


class Edge;
class Attribute;

class Boundary
{
public:
  Boundary( Edge* _edge, bool _inverted );
  vector<IPoint> getSubdivisionPoints();
  bool isSelected();
  int getSubdivisionNumber();
  void setSubdivisionNumber( int _subdiv );
  void setAttribute( Attribute* _attribute ) {m_attribute = _attribute;};
  Attribute* getAttribute() {return m_attribute;};
protected:
private:
  Edge* m_edge;
  Attribute* m_attribute;
  bool m_inverted;
  int m_subdiv;
};


#endif
